* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	list-style: none;
}

body {
	font-family: Arial, sans-serif;
	background-color: #fff;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

header nav {
	display: flex;
	background-color: #fff;
	height: 70px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.zuoshang {
	flex: 0 0 12%;
	background-color: #001529;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.zuoshang img {
	width: 36px;
	height: 43px;
}

.zuoshang p {
	font-size: 16px;
	padding: 8px;
	color: #fff;
}


.youshang {
	flex: 0 0 85%;
	background-color: #eee;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	padding-right: 15px;
}

.youshang>div {
	display: flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.youshang>div>span {
	font-size: 14px;
	margin-left: 5px;
}

.youshang>div>img {
	width: 16px;
	height: 14px;
}

main {
	display: flex;
	margin-top: 70px;
	position: relative;
}

.zuoxia {
	width: 15%;
	height: 100%;
	background-color: #f7f7f7;
	position: fixed;
	display: flex;
	flex-direction: column;
	padding: 0px;
}

.zuoxia ul {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.zuoxia li {
	display: flex;
	align-items: center;
	margin-bottom: 0px;
	font-size: 19px;
	padding: 10px 5px;
	border-radius: 0px;
	transition: background-color 0.3s ease;
	cursor: pointer;
	width: 100%;
	background-color: #f7f7f7;
	text-align: center;
}

.zuoxia li:hover,
.zuoxia li.selected {
	background-color: #e8e8e8;
	width: 100%;
}

.zuoxia img {
	width: 17px;
	height: 30px;
	margin-right: 10px;
	margin-left: 10px;
}

.content {
	margin-left: 12%;
	padding: 20px;
	width: 90%;
	border-radius: 10px;
}
/* 数据分析页面的四个盒子的样式 */
.youxiashang {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 20px;
    margin-bottom: 24px;
}

.youxiashang > div {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.youxiashang > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* 标题样式 */
.youxiashang > div p:first-child {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

/* 数值样式 */
.youxiashang > div p:last-child {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

/* 为每个盒子添加不同的强调色 */
.youxiashang > div:nth-child(1) {
    border-left: 4px solid #1890ff;
}

.youxiashang > div:nth-child(2) {
    border-left: 4px solid #52c41a;
}

.youxiashang > div:nth-child(3) {
    border-left: 4px solid #faad14;
}

.youxiashang > div:nth-child(4) {
    border-left: 4px solid #f5222d;
}

/* 添加装饰性图标 */
.youxiashang > div::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    opacity: 0.1;
    background-size: contain;
    background-repeat: no-repeat;
}

.youxiashang > div:nth-child(1)::after {
    background-image: url('../img/visit.png');
}

.youxiashang > div:nth-child(2)::after {
    background-image: url('../img/user.png');
}

.youxiashang > div:nth-child(3)::after {
    background-image: url('../img/course.png');
}

.youxiashang > div:nth-child(4)::after {
    background-image: url('../img/income.png');
}

/* 统计数据文本样式 */
.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: #8c8c8c;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #262626;
}

/* 添加装饰性背景图案 */
.stat-bg {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}
/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .youxiashang {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .youxiashang {
        grid-template-columns: 1fr;
    }
}
.youxia.zhong {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}


.youxiazhong li {
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	width: 48%;
	height: 400px;
	padding: 20px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
}

.trend-container {
	display: flex;
	flex-direction: column;
	flex: 1;
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	height: 400px;
}

/* 修改头部样式 */
.trend-header {
	flex-direction: row;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.trend-header h3 {
	margin: 0;
	font-size: 16px;
	color: #333;
}

.trend-header select {
	padding: 5px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	color: #666;
	outline: none;
	cursor: pointer;
}

.trend-header select:hover {
	border-color: #1890ff;
}

/* 移除旧的重复样式 */
/* .trend-header {
	
    display: flex;
    flex-direction: column;
    gap: 10px;
} */

/* 确保图表容器正确显示
#salesTrendChart {
    flex: 1;
    min-height: 0;
}

.trend-container > li {
    margin-right: 0;
}

.trend-container > li:last-child {
    margin-right: 0; /* 去除最后一个盒子的右边距 */
}

.trend-container h3 {
	margin: 0;
}

.trend-container select {
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.youxiaxia {
	border-radius: 10px;
	width: 100%;
	height: 300px;
	padding: 20px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
	background-color: #fff;
}

.youxiaxia .title-container {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.youxiaxia h3 {
	font-size: 20px;
}

.youxiaxia h4 {
	font-size: 16px;
	color: #007BFF;
	cursor: pointer;
	text-decoration: underline;
}

.youxiaxia li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin: 26px 0;
	height: 50px;
	border-bottom: 1px solid #ddd;
}

.youxiaxia .item-content {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
}

.youxiaxia .text-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.youxiaxia img {
	width: 40px;
	height: 40px;
}

.youxiaxia p {
	font-size: 16px;
	margin: 0;
}

.youxiaxia span {
	font-size: 14px;
	color: #888;
	margin-top: 5px;
}

.youxiaxia button {
	border: none;
	border-radius: 5px;
	color: #fff;
	width: 80px;
	height: 40px;
	font-size: 16px;
	background-color: #550000;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.dropdown-content {
	display: none;
	/* 默认隐藏 */
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
	left: 0;
	/* 使下拉菜单出现在父元素下方 */
	top: 100%;
	/* 使下拉菜单出现在父元素下方 */
}

.dropdown-content li {
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
}

.dropdown-content li:hover {
	background-color: #f1f1f1;
}

#logout {
	color: blue;
	/* 改变文字颜色 */
	text-decoration: none;
	/* 初始状态无下划线 */
	cursor: pointer;
	/* 鼠标悬停时显示为指针 */
}

#logout:hover {
	text-decoration: underline;
	/* 鼠标悬停时显示下划线 */
}

.sidebar {
	width: 12%;
	height: 100%;
	background-color: #001529;
	position: fixed;
	display: flex;
	flex-direction: column;
	padding: 0px;
}


.accordion {
	list-style-type: none;
	padding: 0;
}

.accordion-header {
	display: flex;
	align-items: center;
	transition: background-color 0.3s ease;
}

.accordion-header:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.accordion-header i {
	width: 20px;
	text-align: center;
	margin-right: 5px;
}

.accordion-header:hover i {
	transform: scale(1.1);
	transition: transform 0.2s ease;
}

.accordion-content {
	background-color: rgba(0, 0, 0, 0.2);
}

.accordion-header {
	background-color: #001529;
	color: #fff;
	padding: 16px;
	text-decoration: none;
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.accordion-content {
	list-style-type: none;
	padding: 0;
	display: none;
}


.accordion-item.selected .accordion-content {
	display: block;
}

.accordion-content li a {
	padding: 16px;
	text-decoration: none;
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.accordion-content li a:hover {
	background-color: #ddd;
}

.content-section {
	display: none;
}

.content-section.active {
	display: block;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

th {
	background-color: #f2f2f2;
}

button {
	padding: 5px 4px;
	margin-right: 10px;
}

input[type="text"],
select {
	padding: 5px;
	margin-bottom: 10px;
}

.course-info {
	display: flex;
	align-items: center;
}

.course-info img {
	max-width: 100px;
	margin-right: 10px;
}

.course-info span {
	display: block;
}

/* 用户管理页面头部按钮组样式 */
.ddheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
}

.header button {
    margin-right: 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#addUser {
    background-color: #1890ff;
    color: white;
}

#importUsers, #exportUsers {
    background-color: #f0f2f5;
    color: #333;
}

.header button:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* 搜索框样式 */
.dbheader {
    position: relative;
}

#searchInput {
    width: 250px;
    padding: 8px 12px;
    padding-right: 35px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    outline: none;
}

#searchInput::placeholder {
    color: #bfbfbf;
}

.header {
	padding: 1rem;
	margin: 0 -21px;
}

.dbheader {
	margin: 15px;
	margin-left: 800px;
}

.filters {
	padding: 1rem;
}

.users-table {
	width: 100%;
	border-collapse: collapse;
}

.users-table th,
.users-table td {
	border: 1px solid #ddd;
	padding: 0.5rem;
	text-align: left;
}

.users-table th {
	background-color: #f2f2f2;
}

/* .pagination {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
	list-style: none;
} */
/* 分页容器 */
.pagination {
	display: flex;
	justify-content: center;
	/* 居中对齐 */
	margin-top: 20px;
	/* 上边距 */
	list-style: none;
}

/* 分页项 */
.page-item {
	background-color: #f8f9fa;
	/* 背景颜色 */
	border: 1px solid #dee2e6;
	/* 边框颜色 */
	color: #007bff;
	/* 文字颜色 */
	padding: 8px 15px;
	/* 内边距 */
	margin: 0 4px;
	/* 外边距 */
	text-align: center;
	/* 文本居中 */
	cursor: pointer;
	/* 鼠标指针变为手型 */
	transition: all 0.3s ease;
	/* 平滑过渡效果 */
}

/* 激活状态下的分页项 */
.page-item.active .page-link,
.page-item:hover .page-link {
	background-color: #007bff;
	/* 背景颜色 */
	color: white;
	/* 文字颜色 */
	border-color: #007bff;
	/* 边框颜色 */
}

/* 禁用状态下的分页项 */
.page-item.disabled .page-link {
	color: #6c757d;
	/* 文字颜色 */
	pointer-events: none;
	/* 禁止鼠标事件 */
	cursor: default;
	/* 默认鼠标指针 */
}

/* 分页链接 */
.page-link {
	text-decoration: none;
	/* 去除下划线 */
}

/* 选中状态下的分页项 */
.page-item.selected {
	background-color: #007bff;
	/* 背景颜色 */
	color: white;
	/* 文字颜色 */
	border-color: #007bff;
	/* 边框颜色 */
}

.search-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f5f5f5;
	border-radius: 5px;
	padding: 10px;
}

.status-select select {
	padding: 5px 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-left: 10px;
}

.order-status {
	display: flex;

}

.status-card {
	background-color: white;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	text-align: center;
	width: calc(25% - 10px);
	margin: 10px;
	padding: 10px;
}

.order-list {
	width: 100%;
	border-collapse: collapse;
}

.order-list th,
.order-list td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

.order-list tr:nth-child(even) {
	background-color: #f2f2f2;
}

.pagination {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	list-style: none;
}

.page-item.active .page-link {
	background-color: #007bff;
	color: white;
	z-index: 3;
}

.page-link {
	color: #007bff;
	padding: 5px 10px;
	border: none;
	cursor: pointer;
}

.pagination {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.pagination li {
	list-style: none;
	margin: 0 5px;
}

.pagination a {
	text-decoration: none;
	padding: 5px 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	color: #333;
}

.pagination .active a {
	background-color: #007bff;
	color: white;
	border-color: #007bff;
}

.profile {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	/* 使用flex布局来更好地排列子元素 */
	align-items: flex-end;
	/* 使内容靠下对齐 */
	cursor: pointer;
}

/* .search-icon{
	margin-left: 10%;
	margin-top: 20px;
} */
.avatar {
	width: 40px;
	height: 40px;
	border-radius: 20%;
	vertical-align: middle;
	transition: transform 0.2s ease-in-out;
	position: relative;
	/* 确保.caret可以相对于.avatar定位 */
	margin-right: 18px;
	/* 在头像和倒三角之间添加间距 */
	margin-bottom: 8px;
	/* 让头像靠近下边框 */
	margin-top: 10px;
}

.caret {
	margin-left: -18px;
	position: absolute;
	top: calc(50% + 13px);
	/* 根据需要调整这个值，使得三角形的顶部与头像底部对齐 */
	left: 100%;
	/* 将三角形放在头像的右侧 */
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid transparent;
	/* 更改这里，使底部变为透明 */
	border-top: 5px solid black;
	/* 更改这里，设置顶边颜色为灰色 */
}

.dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 1;
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s ease-in-out;
	background-color: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	padding: 10px;
	border-radius: 4px;
	min-width: 100px;
	/* 确保有足够的空间显示内容 */
}

.dropdown a {
	display: block;
	padding: 5px 10px;
	text-decoration: none;
	color: inherit;
	width: 100%;
	/* 使每个链接占据整行 */
	white-space: nowrap;
	/* 防止文本换行 */
}

.dropdown a:hover {
	color: #007bff;
}


/* 表格右下角的用来区分几页的样式 */
/* 分页容器样式 */
.pagination-container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: 20px;
	padding: 6px;
	gap: 20px;

}

/* 每页显示条数选择器样式 */
.page-size-selector {
	display: flex;
	/* align-items: center; */
	color: #666;
	margin-top: 31px;
}

.page-size-selector select {
	margin-left: 8px;
	padding: 4px 8px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	height: 32px;
}

/* 分页按钮组样式 */
.pagination a {
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover:not(.disabled) {
    color: #1890ff;
    border-color: #1890ff;
}

.pagination .active {
    background-color: #1890ff;
    border-color: #1890ff;
    color: white !important;
}

.pagination .disabled {
    color: #d9d9d9;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .ellipsis {
    padding: 8px 12px;
    margin: 0 4px;
    color: #666;
}
/* 总条数显示样式 */
.total-count {
	color: #666;
	margin-top: 15px;
}

/* 页码跳转样式 */
.page-jump {
	display: flex;
	align-items: center;
	color: #666;
	margin-top: 13px;
}

.page-jump input {
	width: 50px;
	height: 32px;
	margin: 0 5px;
	padding: 0 5px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	text-align: center;
}

.loading {
	text-align: center;
	padding: 20px;
	font-size: 16px;
}

.error-message {
	text-align: center;
	padding: 20px;
	color: #f56c6c;
}

.error-message button {
	margin-top: 10px;
	padding: 5px 15px;
	background: #409eff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

/* 修改弹出层基础样式 */
.modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px;
}

/* 修改弹出层内容容器样式 */
.modal {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    width: 500px;
    max-height: 80vh; /* 设置最大高度为视口高度的80% */
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 修改表单容器样式 */
#addUserForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* 新增样式 */
    height: calc(100% - 100px); /* 减去标题和按钮的高度 */
    overflow-y: auto; /* 添加垂直滚动条 */
    padding-right: 10px; /* 为滚动条预留空间 */
}

/* 修改按钮容器样式 */
.form-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    /* 新增样式 */
    position: sticky;
    bottom: 0;
    background: white;
    padding: 10px 0;
}

/* 修改标题样式 */
.modal h2 {
    margin-bottom: 20px;
    /* 新增样式 */
    position: sticky;
    top: 0;
    background: white;
    padding: 10px 0;
    z-index: 1;
}

/* 美化滚动条样式 */
#addUserForm::-webkit-scrollbar {
    width: 6px;
}

#addUserForm::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#addUserForm::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#addUserForm::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.modal form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.modal label {
	font-weight: 500;
	color: #333;
}

.modal input[type="text"],
.modal input[type="password"] {
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

/* 角色选择样式 */
.role-options {
	display: flex;
	gap: 20px;
	margin: 10px 0;
}

.role-item {
	position: relative;
}

.role-item input[type="radio"] {
	display: none;
}

.role-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 15px 20px;
	border: 2px solid #e8e8e8;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.role-label i {
	font-size: 24px;
	margin-bottom: 8px;
	color: #666;
}

.role-label span {
	font-size: 14px;
	color: #666;
}

.role-item input[type="radio"]:checked+.role-label {
	border-color: #1890ff;
	background-color: #e6f7ff;
}

.form-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

.btn-submit,
.btn-cancel {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    min-width: 80px; /* 设置最小宽度 */
}

.btn-submit {
	background-color: #1890ff;
	color: white;
}

.btn-cancel {
	background-color: #f5f5f5;
	color: #666;
}



/* 课程审核页面样式 */
#s008 .container {
	background-color: #fff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 筛选栏样式 */
#s008 .filter-bar {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	align-items: center;
	background-color: #fff;
	padding: 15px 0;
}

#s008 .status-filters,
#s008 .category-filter,
#s008 .time-filter {
	display: flex;
	align-items: center;
	gap: 10px;
}

#s008 .filter-btn {
	padding: 6px 12px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	background-color: #f5f5f5;
	color: #333;
}

#s008 .filter-btn.active {
	background-color: #000;
	color: #fff;
}

#s008 select {
	padding: 6px;
	border-radius: 4px;
	border: 1px solid #ddd;
	min-width: 120px;
}

/* 表格样式 */
#s008 table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

#s008 th,
#s008 td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

#s008 th {
	background-color: #fafafa;
	font-weight: normal;
	color: #666;
}

/* 课程信息样式 */
#s008 .course-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

#s008 .course-img {
	width: 80px;
	height: 60px;
	object-fit: cover;
	border-radius: 4px;
}

#s008 .course-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

#s008 .course-title {
	font-weight: bold;
	color: #333;
}

#s008 .course-desc {
	color: #666;
	font-size: 0.9em;
}

/* 状态标签样式 */
#s008 .status-tag {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
}

#s008 .status-tag.pending {
	background-color: #fff7e6;
	color: #ffa940;
}

#s008 .status-tag.approved {
	background-color: #f6ffed;
	color: #52c41a;
}

#s008 .status-tag.rejected {
	background-color: #fff1f0;
	color: #ff4d4f;
}

/* 操作按钮样式 */
#s008 .action-btns {
	display: flex;
	gap: 8px;
}

#s008 .btn {
	padding: 4px 12px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 12px;
}

#s008 .btn-info {
	background-color: #fff;
	border: 1px solid #ddd;
	color: #333;
}

#s008 .btn-success {
	background-color: #52c41a;
	color: #fff;
}

#s008 .btn-danger {
	background-color: #ff4d4f;
	color: #fff;
}

/* 分页样式 */
#s008 .pagination-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
}

#s008 .pagination {
	display: flex;
	gap: 8px;
	align-items: center;
}

#s008 .page-btn,
#s008 .pagination a {
	padding: 4px 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #fff;
	cursor: pointer;
	color: #666;
	text-decoration: none;
}

#s008 .page-btn.active,
#s008 .pagination a.active {
	background-color: #000;
	color: #fff;
	border-color: #000;
}

#s008 .total-count {
	color: #666;
	font-size: 14px;
}

#s008 .total-count span {
	margin: 0 4px;
}

.modal-content .container {
	margin: 0;
	padding: 30px;
	box-shadow: none;
}

/* 课程详情页面样式 */
.section {
	margin-bottom: 30px;
	padding: 20px;
	background-color: #fff;
	border-radius: 4px;
}

.basic-info {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

h1 {
	font-size: 24px;
	margin-bottom: 30px;
	color: #333;
}

.section {
	margin-bottom: 30px;
	padding: 20px;
	background-color: #fff;
	border-radius: 4px;
}

.basic-info {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.info-item {
	display: flex;
	margin-bottom: 15px;
}

.info-label {
	width: 100px;
	color: #666;
}

.info-value {
	color: #333;
	flex: 1;
}

.content-preview {
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.content-preview h2 {
	font-size: 18px;
	margin-bottom: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.arrow {
	font-size: 20px;
	cursor: pointer;
}

.stats {
	display: flex;
	justify-content: space-around;
	margin: 30px 0;
	text-align: center;
}

.stat-item {
	flex: 1;
}

.stat-value {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 5px;
}

.stat-label {
	color: #666;
	font-size: 14px;
}

.audit-status {
	background-color: #fff8e1;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 30px;
}

.status-tag {
	display: inline-block;
	padding: 4px 8px;
	background-color: #ffd54f;
	border-radius: 4px;
	font-size: 14px;
}

.buttons {
	display: flex;
	justify-content: flex-end;
	gap: 15px;
	margin-top: 30px;
}

.btn {
	padding: 8px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.btn-return {
	background-color: #f5f5f5;
	color: #333;
}

.btn-reject {
	background-color: #ff4444;
	color: white;
}

.btn-approve {
	background-color: #000;
	color: white;
}

.progress-bar {
	width: 100%;
	height: 4px;
	background-color: #eee;
	border-radius: 2px;
	margin-top: 5px;
}

.progress {
	height: 100%;
	background-color: #4caf50;
	border-radius: 2px;
}
#s009 {
    /* 使用与课程审核相同的样式 */
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ... existing styles ... */

/* 教师审核页面样式 */
#s009 {
    /* 使用与课程审核相同的样式 */
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#s009 .status-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

#s009 .status-card {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

#s009 .status-card.pending {
    background-color: #e6f7ff;
    color: #1890ff;
}

#s009 .status-card.approved {
    background-color: #f6ffed;
    color: #52c41a;
}

#s009 .status-card.rejected {
    background-color: #fff1f0;
    color: #ff4d4f;
}

#s009 .filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#s009 select, 
#s009 input[type="text"] {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

#s009 .status-tag {
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #e6f7ff;
    color: #1890ff;
}

#s009 .btn-info {
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    background-color: #1890ff;
    color: #fff;
    cursor: pointer;
}

#s009 .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

#s009 .page-btn {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
}

#s009 .page-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* 课程预览弹出层样式 */
.preview-content {
    display: flex;
    width: 90%;
    height: 90%;
    max-width: none;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.preview-content .course-menu {
    width: 280px;
    background: white;
    padding: 20px;
    border-right: 1px solid #eee;
}

.preview-content .content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.preview-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preview-content .close-btn {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.preview-content .close-btn:hover {
    color: #333;
}

/* 课程预览内部样式 */
.preview-content .chapter-title {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.preview-content .chapter-title:hover {
    background-color: #f5f5f5;
}

.preview-content .chapter-title.active {
    background-color: #e6f7ff;
    color: #1890ff;
}

.preview-content .video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-bottom: 30px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.preview-content .video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preview-content .loading {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
}
.preview-link {
    font-size: 14px;
    color: #1890ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.preview-link:hover {
    color: #40a9ff;
}

.preview-link i {
    font-size: 14px;
}
/* 课程审核页面批量删除的按钮样式  */
.table-actions {
    margin-bottom: 15px;
    padding: 10px 0;
}

.batch-delete {
    background-color: #ff4d4f;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

.batch-delete:hover {
    background-color: #ff7875;
}

.batch-delete i {
    margin-right: 5px;
}

.audit-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* 复选框样式 */
.select-all-checkbox,
.row-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* 表头复选框列的样式 */
th:first-child,
td:first-child {
    width: 40px;
    text-align: center;
}

/* 半选中状态样式 */
.select-all-checkbox:indeterminate {
    background-color: #e6f7ff;
    border-color: #1890ff;
}

/* 添加课程表格相关样式 */
.course-info-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}
/* 课程管理页面的课程信息的表格的样式  */
.course-info-container img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.course-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 调整表格列宽 */
[id="002"] table {
    width: 100%;
    table-layout: fixed;
}

/* 课程管理页面顶部样式 */
[id="002"] {
    padding: 20px;
}

/* 搜索表单样式 */
[id="002"] #searchForm {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 搜索框组样式 */
[id="002"] .search-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

[id="002"] .search-group input,
[id="002"] .search-group select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

[id="002"] .search-group input:focus,
[id="002"] .search-group select:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
}

/* 操作按钮样式 */
[id="002"] a {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

[id="002"] a[style*="background-color: black"] {
    background: #1890ff !important;
    border: none;
    color: white;
}

[id="002"] a[style*="background-color: black"]:hover {
    background: #40a9ff !important;
}

[id="002"] a[style*="background-color: #f2f2f2"] {
    background: #f5f5f5 !important;
    color: #666;
    border: 1px solid #d9d9d9;
}

[id="002"] a[style*="background-color: #f2f2f2"]:hover {
    background: #e6e6e6 !important;
}


/* 统一所有输入框样式 */
#addUserForm input[type="text"],
#addUserForm input[type="password"],
#addUserForm input[type="email"],
#addUserForm input[type="number"],
#addUserForm textarea {
    width: 100%;
    padding: 8px 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 教师特有字段容器样式 */
#teacherFields {
    margin: 0;
    padding: 0;
    margin-bottom: 20px; /* 确保与按钮有足够间距 */
}

/* 弹出层基础样式 */
/* 弹出层遮罩样式 */
.modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px; /* 添加内边距，确保在小屏幕上有边距 */
}

/* 修改课程详情弹出层的样式 */
#courseDetailModal .modal-content {
    width: 80%; /* 增加宽度，原来是固定的500px */
    max-width: 1200px; /* 设置最大宽度，避免在大屏幕上过宽 */
    min-width: 800px; /* 设置最小宽度，确保内容不会太挤 */
    height: 90vh; /* 设置高度为视口高度的90% */
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
}

/* 弹出层内容样式 */
.modal-content {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    width: 500px;
    max-height: calc(100vh - 40px); /* 设置最大高度为视口高度减去padding */
    overflow-y: auto; /* 内容超出时显示滚动条 */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 表单容器样式 */
#addUserForm {
    display: flex;
    flex-direction: column;
    gap: 15px; /* 表单项之间的间距 */
}

/* 表单项样式 */
.form-item {
    margin-bottom: 10px;
}

/* 输入框统一样式 */
#addUserForm input[type="text"],
#addUserForm input[type="password"],
#addUserForm input[type="email"],
#addUserForm input[type="number"],
#addUserForm textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 按钮容器样式 */
.form-buttons {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky; /* 使按钮固定在底部 */
    bottom: 0;
    background: white;
}

/* 美化滚动条样式 */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* 统一标签样式 */
#addUserForm label {
    margin-top: 10px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

/* 教师介绍文本框样式 */
#introduce {
    height: 80px; /* 设置固定高度 */
    resize: none; /* 禁止调整大小 */
}
/* 修改课程预览弹出层样式 */
.preview-content {
    display: flex;
    width: 80%;
    height: 90%; 
    max-width: 1600px; /* 增加最大宽度限制 */
    min-width: 1200px; /* 设置最小宽度 */
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative; /* 添加相对定位 */
}

.status-tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-tag.pending {
    background-color: #e6f7ff;
    color: #1890ff;
}

.btn-info {
    padding: 4px 12px;
    border-radius: 4px;
    background-color: #1890ff;
    color: white;
    border: none;
    cursor: pointer;
}

.btn-info:hover {
    background-color: #40a9ff;
}

.error-message {
    text-align: center;
    padding: 20px;
    color: #ff4d4f;
}

.error-message button {
    margin-left: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    background-color: #ff4d4f;
    color: white;
    border: none;
    cursor: pointer;
}
/* 添加教师详情模态框样式 */
#teacherDetailModal .modal-content {
    width: 80%;
    max-width: 1200px;
    min-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
}

#teacherDetailModal .container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
}

#teacherDetailModal .intro-section {
    margin-bottom: 40px;
}

#teacherDetailModal h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

#teacherDetailModal h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

#teacherDetailModal .intro-content {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

#teacherDetailModal .certificates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

#teacherDetailModal .certificate-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#teacherDetailModal .certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#teacherDetailModal .certificate-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#teacherDetailModal .btn-return {
    display: block;
    margin: 20px auto 0;
    padding: 8px 24px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
}

#teacherDetailModal .btn-return:hover {
    background-color: #e6e6e6;
}
/* 证书展示区域样式 */
.certificates-section {
    margin: 20px 0;
}

.certificates-wrapper {
    width: 100%;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.certificates {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.certificate-item {
    position: relative;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.certificate-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 图片放大查看时的样式 */
.modal-overlay .modal-content img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
}

/* 搜索框样式 */
.teacher-search {
    margin-bottom: 20px;
    padding: 10px;
}

#teacher-search-input {
    width: 300px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* 按钮样式 */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.btn-approve {
    background-color: #52c41a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-reject {
    background-color: #f5222d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-return {
    background-color: #d9d9d9;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-approve:hover { background-color: #389e0d; }
.btn-reject:hover { background-color: #cf1322; }
.btn-return:hover { background-color: #bfbfbf; }